package com.lf.conf;

import org.apache.log4j.Logger;

import com.alibaba.fastjson.JSONObject;

public class MyConstants {
	
	public static JSONObject json = new JSONObject();
	public static Logger log=Logger.getLogger("-Lexy-");
	
	
	
	public static final String TBALE_PREFIX = "lexy_";
	public static final String IS_DELETE_Y = "1";
	public static final String IS_DELETE_N = "0";
	public static final String  SESSION_USER = "user";
	public static final int PAGE_SIZE = 8;
	public static final int PAGE_SIZE_REC = 4;
	
	
	public static final String ENFLAG = "0";  //加密标志， 0：不加密， 1：加密
	public static final String FILE_PATH = "fileupload";
	

	
	public static final String UPLOADTYPE = "0"; //0-本地 , 1-FTP
	
	public static final String _IP_PORT = "http://101.201.68.159:8080";
	
	
	
	
	  // 接口返回状态码
    public static final String CODE_SUCCESS = "200";
    public static final String CODE_FAILURE = "201";

    // 接口返回描述
    public static final String DESC_SUCCESS = "success";
    public static final String DESC_FAILURE = "error";
	
    public static final String RETURN_TYPE_PAGE = "page";
    public static final String RETURN_TYPE_JSON = "json";
}
